import {createApp} from 'vue'
import './style.css'
import './styles/index.scss'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
import 'virtual:svg-icons-register'
import gloablComponent from './components/index';
//@ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import router from "./router";
import pinia from "./store";
import './permission'

const app = createApp(App)

app.use(ElementPlus,{
    locale:zhCn
}).use(pinia).use(router).use(gloablComponent);
app.mount('#app')
